<a id="btn_query_${gridId}" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-zoom',plain:true"
   onclick="crud_query_${object.code}()">
    快速查询
</a>
<script type="text/javascript">
    var gridId = '${gridId}', formId = '${formId}';
    var crud_query_${object.code} = function () {
        $('#' + gridId).datagrid('load', sy.serializeObject($('#' + formId)));
    };

//     $('#' + formId).keydown(function (event) {
    $('body').keydown(function (event) {
        if (event.keyCode == 13) {
            crud_query_${object.code}();
        }
    });
</script>